package org.grandstream.webservice_core;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.web.context.support.XmlWebApplicationContext;

public class HelloWorldClient {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("beans.xml"); // your Spring ApplicationContext
		HelloWorld client = (HelloWorld) context.getBean("helloWorldClient");
		System.out.println(client.sayHi("111"));
	}
}
